package com.runner.track.design;

import java.util.ArrayList;

import com.runner.track.Coin;
import com.runner.utility.Locator;

public class RingerTrack1 extends TrackDesign {

	public static int MAX_COINS=83;
	public RingerTrack1() {

	}

	public static ArrayList<Coin> addCoins() {
		ArrayList<Coin> coins = new ArrayList<Coin>();

		coins.addAll(addArc(BLOCK_WIDTH * Locator.getxSpriteScale() * 30, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (0f * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 5));
		// double jump
		coins.addAll(addHalfArc(BLOCK_WIDTH * Locator.getxSpriteScale() * 80, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (-0.7f * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 3));
		coins.addAll(addHalfArc(BLOCK_WIDTH * Locator.getxSpriteScale() * 87, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (1.4f * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 3));

		// through column
		coins.addAll(addCoinLine(BLOCK_WIDTH * Locator.getxSpriteScale() * 148, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (2 * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 3));

		coins.addAll(addCoinRectangle(BLOCK_WIDTH * Locator.getxSpriteScale() * 195, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (2 * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 2, 2));

		// under column
		coins.addAll(addCoinLine(BLOCK_WIDTH * Locator.getxSpriteScale() * 238, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (0.5f * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 3));

		// through 4 and 5
		coins.addAll(addArc(BLOCK_WIDTH * Locator.getxSpriteScale() * 360, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (3f * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 7));

		coins.addAll(addHalfArc(BLOCK_WIDTH * Locator.getxSpriteScale() * 495f, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (0.7f * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 5));

		// big open space
		coins.addAll(addCoinRectangle(BLOCK_WIDTH * Locator.getxSpriteScale() * 510, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (2 * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 5, 3));
		coins.addAll(addCoinRectangle(BLOCK_WIDTH * Locator.getxSpriteScale() * 550, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (2 * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 5, 3));

		// through 4 columns
		coins.addAll(addCoinLine(BLOCK_WIDTH * Locator.getxSpriteScale() * 613, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (5f * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 7));

		coins.addAll(addVerticalCoinLine(BLOCK_WIDTH * Locator.getxSpriteScale() * 695, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (2f * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 5));
		
		//little hops
		coins.addAll(addCoinRectangle(BLOCK_WIDTH * Locator.getxSpriteScale() * 864, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (2 * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 2, 2));
		coins.addAll(addCoinRectangle(BLOCK_WIDTH * Locator.getxSpriteScale() * 884, GROUND_HEIGHT * Locator.getySpriteScale()
				+ (2 * BLOCK_HEIGHT - (BLOCK_HEIGHT / 2)) * Locator.getySpriteScale(), 2, 2));
		return coins;
	}
}
